import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { TypeOrmCrudService } from '@nestjsx/crud-typeorm';
import { VillageCadre } from 'libs/db/entity/village-cadre.entity';
import softDelete from '../_decorator/soft-delete.decorator';

@Injectable()
@softDelete()
export class VillageCadreService extends TypeOrmCrudService<VillageCadre> {
  constructor(@InjectRepository(VillageCadre) repo) {
    super(repo);
  }
}